package cn.geodata.dataview.action;

import java.util.Date;

import cn.geodata.dataview.FireStatistic;

public class Rebuild {
	private Date lastBuild;
	
	public Date getLastBuild() {
		return lastBuild;
	}

	public String execute() throws Exception {
		FireStatistic _stat = new FireStatistic();
		_stat.build();
		
		lastBuild = new Date();
		
		return "success";
	}
}
